// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
0000:



if 0AF0: 0@      = get_int_from_ini_file "CLEO\dv_menu.ini" section "start_game" key "fast"
then
    if 0@ == 1
    then
            select_interior 0                                                              
            04FA: reset_sky_colors_with_fade 0                                             
            057E: set_radar_grey 0                                                         
            0860: link_actor $PLAYER_ACTOR to_interior 0                                   
            04E4: refresh_game_renderer_at 2469.7 -1657.0                                  
            0972: put_actor $PLAYER_ACTOR at 2469.7 -1657.0 12.3 no_offset                 
            //wait 800                                                                       
            Camera.SetBehindPlayer                                                         
            Camera.Restore_WithJumpCut 
    end
else  0AF1: write_int 0   to_ini_file "CLEO\dv_menu.ini" section "start_game" key "fast"
end     
            


0661: NOP "========================================================================" 
0661: NOP "==WWWW====A======N=====N===SSSSS====CCCCC==RRRRR===II==PPPPP===TTTTTT===" 
0661: NOP "==W======A A=====N=N===N==S========C=======R====R======P====P====TT=====" 
0661: NOP "==WWWW==AAAAA====N==N==N===SSSSS===C=======RRRRR===II==PPPPP=====TT=====" 
0661: NOP "==W====A=====A===N===N=N========S==C=======R=R=====II==P=========TT=====" 
0661: NOP "==W===A=======A==N=====N===SSSSS====CCCCC==R===R===II==P=========TT=====" 
0661: NOP "========================================================================"
0AB1: @RUN_THREAD 1 ID 38

{$INCLUDE cleo\SM_Menu_config\construct.cpp}
{$INCLUDE cleo\SM_Menu_config\load_config_heck.cpp}


:startx                            
WHILE TRUE 
    wait 0
    0AC6: 0@ = label @key1 offset                                                                                            
    0A8d: 1@ 0@  4  0
    0AC6: 0@ = label @key2 offset                                                                                            
    0A8d: 2@ 0@  4  0          
    if and
       0ab0: 1@ //use ini
       0ab0: 2@ //use ini
    then wait 0  
        BREAK
    END                                                                              
    0ab1: @heck_external 0 //call ext func vehicle speed adjuster if menu closed
    
END

07CC: set_player $PLAYER_CHAR can_enter_exit_vehicles 0 
Player.CanMove($PLAYER_CHAR) = false

:start
//var defa
flash_state = 1
max_scroll  = 20
to_scroll   = 0
items       = 1
level       = 0
tmi_offset  = 0
max_item    = 15
0AC6: tm_addres = label @font_type offset                                                
0A8C: write_memory tm_addres size 4 value 3 virtual_protect 0

0AC6: tm_addres = label @use_selector offset
0A8C: write_memory tm_addres size 4 value 1 virtual_protect 0        
    
:menu_k
:main_menu_loop
//______________________________/com modules //case WITH func//
{$INCLUDE cleo\SM_Menu_Contents\main_options.cpp}             //1 
{$INCLUDE cleo\SM_Menu_Contents\player_options.cpp}           //2                                      
{$INCLUDE cleo\SM_Menu_Contents\vehicle_options.cpp}          //3                                      
{$INCLUDE cleo\SM_Menu_Contents\vehicle_spawner.cpp}          //4                                      
{$INCLUDE cleo\SM_Menu_Contents\weapon_options.cpp}           //5                                      
{$INCLUDE cleo\SM_Menu_Contents\teleport_options.cpp}         //6                                      
{$INCLUDE cleo\SM_Menu_Contents\game_options.cpp}             //7                                      
{$INCLUDE cleo\SM_Menu_Contents\bodyguard_options.cpp}        //8                                      
{$INCLUDE cleo\SM_Menu_Contents\heats_manager.cpp}            //10                                     
{$INCLUDE cleo\SM_Menu_Contents\mod_manager_1.cpp}            //11                                     
{$INCLUDE cleo\SM_Menu_Contents\menu_setings.cpp}             //12                                    
{$INCLUDE cleo\SM_Menu_Contents\ped_spawner_case.cpp}         //13                                     
:CONTINUE

{$INCLUDE cleo\SM_Menu_Contents\ANIMATION_CASE.CPP}        
{$INCLUDE cleo\SM_Menu_CONFIG\draw_vindow.cpp}
{$INCLUDE cleo\SM_Menu_CONFIG\engine_selector.cpp}
{$INCLUDE cleo\SM_Menu_CONFIG\draw_sub.cpp}
                               
//call ext func
{$INCLUDE cleo\SM_Menu_Contents\adwanced_func.cpp}
//MEMORY     
{$INCLUDE cleo\SM_Menu_Contents\buffers_memory.cpp}                       //14     
//mods threads FUNC
{$INCLUDE cleo\SM_Menu_Contents\EXTERNAL_THREAD.cpp} 




